<template>
<div class="joininform">
	<div class="box" v-for="(item,indexs) in data" :key="indexs" @click="examinedshow(item)">
		<div class="fn-clear title">
		    <div class="fn-left ">{{item.akb020Name}}</div>
		    <div class="fn-right in_select"></div>
		</div>
		<div class="content">
			<p>住院（门诊）流水号：{{item.akc190}}</p>
			<p>处方日期：{{item.akc221}}</p>
			<p>金额：{{item.akc227}}元</p>	
		</div>
	</div>


</div>
</template>

<script>
  export default {
    data () {
      return {
        data: []
      }
    },
    created () {
    this.getData();
    },
    methods: {
      //缴费明细信息
      getData(){
      	
      	this.$http.get("https://www.easy-mock.com/mock/5d54c7d3b0d15e6c4a8ca44b/example/simis/paymentInfo/queryConsumeDetailInfoList",{}).then(res=>{
  				if (res.total===0) {
  					Toast('暂无医保报销审核结果');
          		}else{
		          	console.log(res.rows)
		            this.data = res.rows;
          		}
      	})
      	
      	
//      this.$http.post("transmit",{
//        "access_token":this.utils.getToken(),
//        "transmitUrl": "/simis/insuredInfo",
//        "method": "get",
//        "objectId": "f4860abe5e8e49eca2725360f0c65c6c",
//        "objectType": "1"
//      }).then(res => {
//        console.log(res);
//        debugger
//        if (res.success) {
//          this.data = res.body;
//        }
//      }).catch((error=>{
//      	debugger
//      }));
      },
      examinedshow(item){
      	this.$router.push({path:"/Examineresult/Medconsumetails",query:{item:JSON.stringify(item)}})
      }
    }
  }
  document.body.style.background = "#F2F2F2";
</script>

<style lang="less" scoped>
.joininform{
	padding:.1rem; color: #666666;
	.box{background-color: #fff; border-radius: 3px; margin-bottom: .1rem;
	.title{border-bottom: 1px solid #DFDFDF; padding: .1rem .1rem .05rem;
    .in_select {
    	width: .2rem;height: .2rem;
        box-sizing: border-box;
        padding-right: 0.15rem;
        background: url("../../assets/arrow_go1.png") no-repeat right center;
        background-size: 0.09rem 0.15rem;
      }
	}
	}
	.content{ padding: .1rem;
	p{line-height:.30rem;}
	}
	
}
</style>